package com.bjtu.laorenyouhao.laoren.utils;

public class HealthUtils {
    public static Integer getPoints(Integer emotionType){
        Integer point = 0;
        switch (emotionType){
            case 1:
                point = -4;
                break;
            case 2:
                point = -1;
                break;
            case 3:
                point = -2;
                break;
            case 4:
                point = 2;
                break;
            case 5:
                point = 0;
                break;
            case 6:
                point = -3;
                break;
            case 7:
                point = 1;
                break;
        }

        return point;
    }
}
